﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class LimitTimeMarketInfoConfig : EntityTypeConfiguration<LimitTimeMarketInfo>
    {
        public LimitTimeMarketInfoConfig()
        {
            ToTable("Himall_LimitTimeMarket");
            Property(item => item.CancelReson).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.CategoryName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ImagePath).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ProductAd).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ProductName).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ShopName).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.Title).HasColumnType("varchar").HasMaxLength(200);
           
        }
    }
}
